package backend.project.gym_management.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 管理员查询表参数
 */
@Data
public class AdminQuery {
    @ApiModelProperty(value = "查询表格",required = true, example = "user")
    private String tableName;

    @ApiModelProperty(value = "查询id（可选）", example = "1")
    private Integer id;

    @ApiModelProperty(value = "查询姓名（可选）", example = "zhangsan")
    private String name;
}
